package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "CMS_Node")
public class CMSNode {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // 栏目ID

    @Column(nullable = false, length = 50)
    private String nodename; // 栏目名称

    @Column(nullable = false)
    private Integer state; // 显示到前台菜单（0:显示;1:不显示）

    @Column(nullable = false)
    private Integer del; // 是否可删除（0:可删除;1:不可删除）

    @Column(nullable = false)
    private Integer type; // 内容显示方式

    @Column(nullable = false)
    private Integer ordernum; // 顺序号

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNodename() {
        return nodename;
    }

    public void setNodename(String nodename) {
        this.nodename = nodename;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(Integer ordernum) {
        this.ordernum = ordernum;
    }

}